using System;
using System.Collections.Generic;
using System.Windows.Forms;
using Renamer.Properties;

namespace Renamer
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            #region Upgrade Settings
            if (Settings.Default.DoUpgrade)
            {
                Settings.Default.Upgrade();
                Settings.Default.DoUpgrade = false;
            }
            #endregion

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new FormMain());
            Settings.Default.Save();
        }
    }
}